package com.ruoyi.system.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 低碳行为记录管理对象 behavior_recode
 * 
 * @author 墨染
 * @date 2024-09-28
 */
public class BehaviorRecode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @Excel(name = "行为记录Id")
    private Long behaviorId;

    @Excel(name = "扩展字段6")
    private String ext6;

    @Excel(name = "行为编码")
    private Long behaviorCode;

    @Excel(name = "低碳行为名称")
    private String behaviorName;

    @Excel(name = "累计减碳量")
    private Double reduceCo2;

    @Excel(name = "获得的积分")
    private Double earnPoints;

    @Excel(name = "用户Id")
    private Long userId;

    @Excel(name = "用户昵称")
    private String nickName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "记录日期", dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date recordDate;

    @Excel(name = "打卡图片")
    private String punchingRecordImg;

    @Excel(name = "打卡位置")
    private String punchingPosition;

    @Excel(name = "备注")
    private String remark;

    @Excel(name = "删除标识(0未删除,1已删除)")
    private Long isDel;

    @Excel(name = "扩展字段1")
    private String ext1;

    @Excel(name = "扩展字段2")
    private String ext2;

    @Excel(name = "扩展字段3")
    private String ext3;

    @Excel(name = "扩展字段4")
    private String ext4;

    @Excel(name = "扩展字段5")
    private String ext5;

    public void setBehaviorId(Long behaviorId) 
    {
        this.behaviorId = behaviorId;
    }

    public Long getBehaviorId() 
    {
        return behaviorId;
    }
    public void setExt6(String ext6)
    {
        this.ext6 = ext6;
    }

    public String getExt6()
    {
        return ext6;
    }
    public void setBehaviorCode(Long behaviorCode) 
    {
        this.behaviorCode = behaviorCode;
    }

    public Long getBehaviorCode() 
    {
        return behaviorCode;
    }
    public void setReduceCo2(Double reduceCo2)
    {
        this.reduceCo2 = reduceCo2;
    }

    public Double getReduceCo2()
    {
        return reduceCo2;
    }
    public void setEarnPoints(Double earnPoints)
    {
        this.earnPoints = earnPoints;
    }

    public Double getEarnPoints()
    {
        return earnPoints;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setRecordDate(Date recordDate) 
    {
        this.recordDate = recordDate;
    }

    public Date getRecordDate() 
    {
        return recordDate;
    }
    public void setIsDel(Long isDel) 
    {
        this.isDel = isDel;
    }

    public Long getIsDel() 
    {
        return isDel;
    }
    public void setext1(String ext1)
    {
        this.ext1 = ext1;
    }

    public String getext1()
    {
        return ext1;
    }
    public void setExt2(String ext2) 
    {
        this.ext2 = ext2;
    }

    public String getExt2() 
    {
        return ext2;
    }
    public void setExt3(String ext3) 
    {
        this.ext3 = ext3;
    }

    public String getExt3() 
    {
        return ext3;
    }
    public void setExt4(String ext4) 
    {
        this.ext4 = ext4;
    }

    public String getExt4() 
    {
        return ext4;
    }
    public void setExt5(String ext5) 
    {
        this.ext5 = ext5;
    }

    public String getExt5() 
    {
        return ext5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("behaviorId", getBehaviorId())
            .append("ext6", getExt6())
            .append("behaviorCode", getBehaviorCode())
            .append("behaviorName", getBehaviorName())
            .append("reduceCo2", getReduceCo2())
            .append("earnPoints", getEarnPoints())
            .append("userId", getUserId())
            .append("nickName", getNickName())
            .append("recordDate", getRecordDate())
            .append("isDel", getIsDel())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
                .append("punchingRecordImg", getPunchingRecordImg())
                .append("punchingPosition", getPunchingPosition())
                .append("ext1", getext1())
                .append("ext2", getExt2())
            .append("ext3", getExt3())
            .append("ext4", getExt4())
            .append("ext5", getExt5())
            .toString();
    }

    public String getPunchingRecordImg() {
        return punchingRecordImg;
    }

    public void setPunchingRecordImg(String punchingRecordImg) {
        this.punchingRecordImg = punchingRecordImg;
    }

    public String getPunchingPosition() {
        return punchingPosition;
    }

    public void setPunchingPosition(String punchingPosition) {
        this.punchingPosition = punchingPosition;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getBehaviorName() {
        return behaviorName;
    }

    public void setBehaviorName(String behaviorName) {
        this.behaviorName = behaviorName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }
}
